package com.fadadianqi.mall.product.dao;

import com.fadadianqi.commons.BaseDAO;
import com.fadadianqi.commons.GenericDAOSuport;
import com.fadadianqi.mall.product.model.ItemSPU;
import com.yeqiangwei.commons.util.Pagination;

import java.util.List;

/**
 * Created by aroot on 2/7/14.
 */
public interface ItemSPUDAO extends BaseDAO<ItemSPU> {

    List<ItemSPU> findAll(Pagination pagination);

    int countAll();

    int countAllNotIndexed();

    List<ItemSPU> findAllNotIndexed(Pagination pagination);
}
